<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新建笔记</title>
    <link rel="stylesheet" href="./main.css">
    <style type="text/css">
        .title
        {
            padding: 10px;
        }
        .settings
        {
            height: 30px;
            background-color: palegreen;
            margin-left: 10px;
        }
    </style>

    <script language="JavaScript"></script>
    <script type="text/javascript" src="menus.js"></script>
    <script>
        function returnMain() {
            window.location.href="Main.html";
        }

        //新建一条笔记
        function onenote(){
            var newdiv=document.createElement("div");
            var newspan=document.createElement("span");
            var newdate=document.createElement("span");
            var newp=document.createElement("p");
        }

        //将笔记保存在“我的笔记”中
        function conserve1() {
            var newWindow=window.open("mynotes.html");
            newWindow.document.getElementById("no").innerHTML=document.getElementById("notetitle").value;
            newWindow.document.getElementById("notetext").innerHTML=document.getElementById("notetext").value;
        }
    </script>
</head>
<body>
<div class="header">云笔记</div>
<div class="main">
    <!--菜单部分-->
    <div class="main_left">

            <table class="menu_buttons">


                <tr>
                    <td class="menu" colspan="2"><input type="button" class="left_button" value="我的笔记" onclick="gomynotes()"></td>
                </tr>
                <tr>
                    <td class="menu" colspan="2"><input type="button" class="left_button" value="回收站" onclick="gorecover()"></td>
                </tr>
                <tr>
                    <td class="menu" colspan="2"><input type="button" class="left_button" value="退出" onclick="backtoLoad()"></td>
                </tr>
            </table>
    </div>
    <div class="main_right">
        <!--<form action="mynotes.html" method="get" onsubmit="conserve()">-->
            <!--编辑按钮-->
            <div class="top">
                <div class="topleft"><input type="submit" value="保存" onclick="conserve1()" ></div>
                <div class="topright"><input type="button" value="返回" onclick="returnMain()"></div>
            </div>
            <!--标题部分-->
            <div class="title">
                <input type="text" name="title" id="notetitle" placeholder="请在此输入您的标题">
            </div>
            <!--工具栏-->
            <div class="settings" id="lala">
                字体设置栏
            </div>
            <!--笔记正文部分-->
            <div class="note">
                <textarea name="note" id="notetext" style=" border:solid 1px #000000;width: 100%;height: 100%" placeholder="请在此输入您的笔记..."></textarea>
            </div>
        <!--</form>-->
    </div>
</div>

<script type="text/javascript" src="js/back.js"></script>
</body>
</html>